home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15853 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: Mon, 08 Apr 96 12:02:30 GMT
  6. Organization: none
  7. Message-ID: <828964950snz@genesis.demon.co.uk>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg> <4k9qhe$65r@solutions.solon.com> <dewar.828936837@schonberg>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <dewar.828936837@schonberg> dewar@cs.nyu.edu "Robert Dewar" writes:
  15.  
  16. >Boy, this sure has wandered! THe original issue was the semantic behavior
  17. >of read. Unlike other unices, in Linux, the bounds check for the read
  18. >buffer is based on the requested count, rather than the actual count
  19. >of data bytes read. It is hard to say either approach is right or
  20. >wrong, but they are different enough to cause portability problems.
  21.  
  22. Both approaches meet the relevant standards and are correct. Only broken
  23. code has portability problems, but that's nothing new.
  24.  
  25. -- 
  26. -----------------------------------------
  27. Lawrence Kirby | fred@genesis.demon.co.uk
  28. Wilts, England | 70734.126@compuserve.com
  29. -----------------------------------------
  30.